package com.sp.biz.user.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户微信表
 * </p>
 *
 * @author 
 * @since 2025-07-16 20:08:59
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_user_weixin_info")
@Schema(name = "UserWeixinInfoDO对象", description = "用户微信表")
public class UserWeixinInfoDO {

      @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @Schema(name = "appid")
    @TableField("APP_ID")
    private String appId;

    @TableField("OPEN_ID")
    private String openId;

    @TableField("UNION_ID")
    private String unionId;

    @TableField("USER_ID")
    private Long userId;

    @Schema(name="用户头像")
    @TableField("AVATAR")
    private String avatar;

    @Schema(name="微信名称")
    @TableField("NICK_NAME")
    private String nickName;

    @Schema(name="是否删除1是0否")
    @TableField("IS_DELETE")
    private String isDelete;

      @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
